Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat events #46

Merged
merged 13 commits into from
Jun 27, 2023
Merged

Feat events #46

merged 13 commits into from
Jun 27, 2023

Conversation

HansBhatia
Copy link
Contributor

Closes: #7

@@ -0,0 +1,9 @@
# Events

An event is defined as function with the #[event] attribute. The parameters of the function correspond to data that will be emitted. An event is to be logged for easy and fast access to querying the data at a later time.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@enitrat when does the new syntactic update come out?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With 0.12

Copy link
Collaborator

@enitrat enitrat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

listings/ch00-introduction/events/src/counter.cairo Outdated Show resolved Hide resolved
src/ch00-10-events.md Outdated Show resolved Hide resolved
@HansBhatia
Copy link
Contributor Author

@enitrat Changes made!

@HansBhatia HansBhatia requested a review from enitrat June 27, 2023 15:35
@enitrat enitrat merged commit cb89213 into NethermindEth:main Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Events
3 participants